﻿#ifndef SECRETARY_H
#define SECRETARY_H

#include <QList>
#include "Subject.h"
#include "Observer.h"

class Secretary : public Subject
{
private:
    QList<shared_ptr<Observer>> observers;
    QString action;
public:
    void Attach(shared_ptr<Observer> observer);
    void Detach(shared_ptr<Observer> observer);
    void Notify();
};

#endif // SECRETARY_H
